package com.findsing.jetty.websocket.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Credential {
	@XmlElement String userName;
	@XmlElement String password;
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public Credential(){}
	public Credential(String userName, String password)
	{
		this.userName = userName;
		this.password = password;
	}
	
	/*public String toString()
	{
		return "{\"userName\":\""+ userName + "\",\"password\":\""+ password +"\"}";
	}*/
}
